export default {
  install(app) {
    const sharedObject = {
      mapInstance: null,
      setMap3d(map) {
        this.mapInstance = map;
      },
    };
    // 挂载到全局属性
    app.config.globalProperties.$map3d = sharedObject;
  },
};
